package cn.ibizlab.odoo.core.odoo_sms.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_sms.domain.Sms_send_sms;
import cn.ibizlab.odoo.core.odoo_sms.filter.Sms_send_smsSearchContext;

/**
 * 实体[Sms_send_sms] 服务对象接口
 */

public interface ISms_send_smsService{
     void createBatch(List<Sms_send_sms> sms_send_smss, int batchSize) ;
     boolean update(Sms_send_sms sms_send_sms) ;
     boolean create(Sms_send_sms sms_send_sms) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Sms_send_sms> sms_send_smss, int batchSize) ;
     Sms_send_sms get(Integer id) ;
     Sms_send_sms get(Sms_send_sms sms_send_sms) ;

    /**
     * 查询集合 默认查询
     */
    Page<Sms_send_sms> searchDefault(Sms_send_smsSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Sms_send_sms> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Sms_send_sms> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Sms_send_sms convert2Domain(cn.ibizlab.odoo.core.client.model.Isms_send_sms model ,Sms_send_sms domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Isms_send_sms convert2Model(Sms_send_sms domain , cn.ibizlab.odoo.core.client.model.Isms_send_sms model);

}
